package string;
/**
 * boolean startsWith(String s);
 * 判断当前字符串是否以给定字符串开始的*/
public class StartsWithDemo {
    public static void main(String[] args) {
        String str = "thinking in java";
        boolean start = str.startsWith(" think");
        System.out.println(start); //false
    }
}
